import {
  Toast
} from "vant"
import router from '../routers/'


export default function () {
  Toast({
    message: "账号登录认证失效，请重新登录",
    position: 'center',
    duration: 2000
  })

  setTimeout(() => {
    router.replace({
      path: '/login'
    }).catch(err => {

    })
  }, 2000);

  return false
}